from . import index_blue
from info import redis_store
from flask import current_app, render_template
from flask import session

@index_blue.route("/")
def index():
    session["name"]="wanglong"
    return render_template("index.html")

@index_blue.route("/favicon.ico")
def facicon():
    return current_app.send_static_file("news/favicon.ico")